package com.luo.partner.service;

import com.luo.common.base.BaseService;
import com.luo.common.utils.Query;
import com.luo.partner.dao.model.TabManagerCommission;
import com.luo.partner.dao.model.TabManagerCommissionExample;

import java.util.List;
import java.util.Map;
/**
* TabManagerCommissionService接口
* Created by laohu on 2018/9/6.
*/
public interface TabManagerCommissionService extends BaseService<TabManagerCommission, TabManagerCommissionExample> {
TabManagerCommission get(Long id);

List<TabManagerCommission> list();

int save(TabManagerCommission role);

int update(TabManagerCommission role);

    int remove(Long id);

List<TabManagerCommission> list(Long userId);

    int batchRemove(Long[] ids);

    int count(Query query);

	List<TabManagerCommission> findList(Map<String,Object> map);

	int countList(Map<String,Object> map);

	void applyCommission(Long id, Integer checkStatus) throws RuntimeException;
}